import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from 'typeorm'
@Entity()
//  一级课程表
export class LevelOneSubject {
  @PrimaryGeneratedColumn()
  _id: number
  @Column()
  name: string

  @Column()
  key: string

  @CreateDateColumn()
  created: Date
}
